<?php
/* @var $this MembersController */
/* @var $model Members */
/* @var $form CActiveForm */
?>
<div class="grid-24">
  <div class="form widget">
    <div class="widget-header">
      <span class="icon-key-stroke"></span>
      <h3><?php echo Yii::t('main', 'member.pass_title'); ?></h3>
    </div>

    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'members-form',
        'enableAjaxValidation' => false,
        'htmlOptions'=>array('class' => 'form uniformForm validateForm'),
    ));
    ?>
    <div class="widget-content">

      <?php
      echo $form->errorSummary($model); ?>
      <div class="field-group">
        <label><?php echo Yii::t('main', 'member.new_pass'); ?> </label>
        <div class="field">
          <?php echo $form->passwordField($model, 'password', array('size' => 25, 'maxlength' => 45, 'value' => '')); ?>
          <?php echo $form->error($model, 'password'); ?>
        </div>
      </div>
      <div class="field-groups">
        <button class="btn btn-small btn-success" type="submit">
          <span class="icon-check"></span>
          <?php echo Yii::t('main', 'button.ok'); ?>
        </button>
      </div>

    </div>
    <?php $this->endWidget(); ?>

  </div>
  <!-- form -->
</div>
